Cadenza : Cadenza.Collections Namespace

OrderedDictionary<TKey,TValue> Generic Class

Documentation for this section has not yet been entered.

public class OrderedDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IEnumerable<KeyValuePair<TKey, TValue>>, IList<KeyValuePair<TKey, TValue>>

Type Parameters

TKey
Documentation for this section has not yet been entered.
TValue
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Members

See Also: Inherited members from object.

Public Constructors

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Public Properties

[read-only]
Comparer IEqualityComparer<TKey> . Gets the equality comparer being used for .
[read-only]
Count int . Gets the number of items in the dictionary.
[read-only]
default property
Item (int) TValue . Gets the value at the specified index.
default property
Item (TKey) TValue . Gets or sets the value associated with key.
[read-only]
Keys ICollection<TKey> . Gets a read only collection of keys in the dictionary.
[read-only]
Values ICollection<TValue> . Gets a read only collection of values in the dictionary.

Public Methods

Add (TKey, TValue)
Adds the key and value to the dictionary.
Clear ()
Clears the dictionary.
ContainsKey (TKey) : bool
Gets whether or not key is in the dictionary.
ContainsValue (TValue) : bool
Gets whether or not value is in the dictionary.
GetEnumerator () : IEnumerator<KeyValuePair<TKey, TValue>>
Documentation for this section has not yet been entered.
IndexOf (TKey) : int
Gets the index of key.
IndexOf (TKey, int) : int
Gets the index of key starting with startIndex.
IndexOf (TKey, int, int) : int
Gets the index of key between the range given by startIndex and count.
Insert (int, TKey, TValue)
Inserts the key and value at the specified index.
Remove (TKey) : bool
Removes the key and associated value from the dictionary if found.
RemoveAt (int)
Removes they key and associated value from the dictionary located at index.
TryGetValue (TKey, out TValue) : bool
Attempts to get the value for the key.

Explicitly Implemented Interface Members

ICollection<KeyValuePair<TKey, TValue>>.Add Documentation for this section has not yet been entered.
ICollection<KeyValuePair<TKey, TValue>>.Contains Documentation for this section has not yet been entered.
ICollection<KeyValuePair<TKey, TValue>>.CopyTo Documentation for this section has not yet been entered.
IEnumerable.GetEnumerator Documentation for this section has not yet been entered.
IList<KeyValuePair<TKey, TValue>>.IndexOf Documentation for this section has not yet been entered.
IList<KeyValuePair<TKey, TValue>>.Insert Documentation for this section has not yet been entered.
[read-only]
ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly bool . Documentation for this section has not yet been entered.
IList<KeyValuePair<TKey, TValue>>.Item KeyValuePair<TKey, TValue> . Documentation for this section has not yet been entered.
ICollection<KeyValuePair<TKey, TValue>>.Remove Documentation for this section has not yet been entered.

Extension Methods

static
AggregateHistory<TSource> (this IEnumerable<TSource>, Func<TSource, TSource, TSource>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
AggregateHistory<TSource,TAccumulate> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>) : IEnumerable<TAccumulate>
Documentation for this section has not yet been entered.
static
AggregateHistory<TSource,TAccumulate,TResult> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>, Func<TAccumulate, TResult>) : IEnumerable<TResult>
Documentation for this section has not yet been entered.
static
AggregateReverse<TSource> (this IEnumerable<TSource>, Func<TSource, TSource, TSource>) : TSource
Documentation for this section has not yet been entered.
static
AggregateReverse<TSource,TAccumulate> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>) : TAccumulate
Documentation for this section has not yet been entered.
static
AggregateReverse<TSource,TAccumulate,TResult> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>, Func<TAccumulate, TResult>) : TResult
Documentation for this section has not yet been entered.
static
AggregateReverseHistory<TSource> (this IEnumerable<TSource>, Func<TSource, TSource, TSource>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
AggregateReverseHistory<TSource,TAccumulate> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>) : IEnumerable<TAccumulate>
Documentation for this section has not yet been entered.
static
AggregateReverseHistory<TSource,TAccumulate,TResult> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>, Func<TAccumulate, TResult>) : IEnumerable<TResult>
Documentation for this section has not yet been entered.
static
And (this IEnumerable<bool>) : bool
Documentation for this section has not yet been entered.
static
Apply<TSource> (this IEnumerable<TSource>)
Documentation for this section has not yet been entered.
static
ApplyPairs<TSource> (this IEnumerable<TSource>, params Action<TSource>[]) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
AsIList<TSource> (this IEnumerable<TSource>) : IList<TSource>
Documentation for this section has not yet been entered.
static
Break<TSource> (this IEnumerable<TSource>, Func<TSource, bool>) : Cadenza.Tuple<IEnumerable<TSource>, IEnumerable<TSource>>
Documentation for this section has not yet been entered.
static
Cache<T> (this IEnumerable<T>) : CachedSequence<T>
Documentation for this section has not yet been entered.
static
CompareWith<T> (this IEnumerable<T>, IEnumerable<T>) : SequenceComparison<T>
Compares two enumerations retrieving added, removed and unchanged elements.
static
CompareWith<T> (this IEnumerable<T>, IEnumerable<T>, IEqualityComparer<T>) : SequenceComparison<T>
Compares two enumerations retrieving added, removed and unchanged elements.
static
Concat<TSource> (this IEnumerable<TSource>, IEnumerable<IEnumerable<TSource>>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Concat<TSource> (this IEnumerable<TSource>, params IEnumerable<TSource>[]) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
ContiguousSubsequences<TSource> (this IEnumerable<TSource>, int) : IEnumerable<IEnumerable<TSource>>
Documentation for this section has not yet been entered.
static
CopyTo<TSource> (this IEnumerable<TSource>, ICollection<TSource>)
Documentation for this section has not yet been entered.
static
CopyTo<TSource> (this IEnumerable<TSource>, TSource[], int)
Documentation for this section has not yet been entered.
static
Cycle<TSource> (this IEnumerable<TSource>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Each<TSource> (this IEnumerable<TSource>, Action<TSource, int>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Each<TSource> (this IEnumerable<TSource>, Action<TSource>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
ExceptLast<TSource> (this IEnumerable<TSource>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
ExceptLast<TSource> (this IEnumerable<TSource>, int) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
FindIndex<TSource> (this IEnumerable<TSource>, Func<TSource, bool>) : int
Documentation for this section has not yet been entered.
static
FindIndices<TSource> (this IEnumerable<TSource>, Func<TSource, bool>) : IEnumerable<int>
Documentation for this section has not yet been entered.
static
ForEach<TSource> (this IEnumerable<TSource>, Action<TSource, int>)
Documentation for this section has not yet been entered.
static
ForEach<TSource> (this IEnumerable<TSource>, Action<TSource>)
Documentation for this section has not yet been entered.
static
GetValueOrDefault<TKey,TValue> (this IDictionary<TKey, TValue>, TKey) : TValue
Documentation for this section has not yet been entered.
static
GetValueOrDefault<TKey,TValue> (this IDictionary<TKey, TValue>, TKey, TValue) : TValue
Documentation for this section has not yet been entered.
static
HaskellGroup<TSource> (this IEnumerable<TSource>) : IEnumerable<IEnumerable<TSource>>
Documentation for this section has not yet been entered.
static
HaskellGroupBy<TSource> (this IEnumerable<TSource>, Func<TSource, TSource, bool>) : IEnumerable<IEnumerable<TSource>>
Split self into a sequence of groups.
static
Implode<TSource> (this IEnumerable<TSource>) : string
Documentation for this section has not yet been entered.
static
Implode<TSource> (this IEnumerable<TSource>, string) : string
Documentation for this section has not yet been entered.
static
Implode<TSource> (this IEnumerable<TSource>, string, Func<TSource, string>) : string
Documentation for this section has not yet been entered.
static
IndexOf<TSource> (this IEnumerable<TSource>, TSource) : int
Documentation for this section has not yet been entered.
static
IndexOfAny<TSource> (this IEnumerable<TSource>, IEnumerable<TSource>) : int
Documentation for this section has not yet been entered.
static
IndexOfAny<TSource> (this IEnumerable<TSource>, params TSource[]) : int
Documentation for this section has not yet been entered.
static
IndicesOf<TSource> (this IEnumerable<TSource>, TSource) : IEnumerable<int>
Documentation for this section has not yet been entered.
static
IndicesOfAny<TSource> (this IEnumerable<TSource>, IEnumerable<TSource>) : IEnumerable<int>
Documentation for this section has not yet been entered.
static
IndicesOfAny<TSource> (this IEnumerable<TSource>, params TSource[]) : IEnumerable<int>
Documentation for this section has not yet been entered.
static
InitialSegments<TSource> (this IEnumerable<TSource>) : IEnumerable<IEnumerable<TSource>>
Creates a IEnumerable<IEnumerable<TSource>> containing all leading segments of self, shortest first.
static
Insert<TSource> (this IEnumerable<TSource>, TSource) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Insert<TSource> (this IEnumerable<TSource>, TSource, Func<TSource, TSource, int>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Intersperse<TSource> (this IEnumerable<IEnumerable<TSource>>, IEnumerable<TSource>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Intersperse<TSource> (this IEnumerable<TSource>, TSource) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Just<T> (this T) : Cadenza.Maybe<T>
Create a new Cadenza.Maybe<T> instance initialized to a specified value. The returned value will not be Cadenza.Maybe<T>.Nothing.
static
Match<TSource,TResult> (this TSource, params Func<TSource, Cadenza.Maybe<TResult>>[]) : TResult
Converts the TSource instance self into a TResult.
static
NotNull<TSource> (this IEnumerable<Nullable<TSource>>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Or (this IEnumerable<bool>) : bool
Documentation for this section has not yet been entered.
static
OrderByNatural<TSource> (this IEnumerable<TSource>, Func<TSource, string>) : IEnumerable<TSource>
Documentation for this section has not yet been entered.
static
Partition<TSource> (this IEnumerable<TSource>, Func<TSource, bool>) : Cadenza.Tuple<IEnumerable<TSource>, IEnumerable<TSource>>
Partitions self into two sequences, those which contain elements satisfying predicate and those which do not.
static
PathCombine (this IEnumerable<string>) : string
Creates a path string by concatenating the elements of self.
static
RemoveAll<T> (this ICollection<T>, Func<T, bool>) : bool
Documentation for this section has not yet been entered.
static
RemoveFirstOccurrence<TSource> (this IEnumerable<TSource>, TSource) : IEnumerable<TSource>
Removes the first occurrence of value from the sequence self.
static
RemoveFirstOccurrence<TSource> (this IEnumerable<TSource>, TSource, IEqualityComparer<TSource>) : IEnumerable<TSource>
Removes the first occurrence of value from the sequence self.
static
RemoveFirstOccurrences<TSource> (this IEnumerable<TSource>, TSource, int) : IEnumerable<TSource>
Removes the first count occurrences of value from the sequence self.
static
RemoveFirstOccurrences<TSource> (this IEnumerable<TSource>, TSource, int, IEqualityComparer<TSource>) : IEnumerable<TSource>
Removes the first count occurrences of value from the sequence self.
static
Repeat<TSource> (this IEnumerable<TSource>, int) : IEnumerable<TSource>
Repeats the sequence self for number repetitions.
static
SelectAggregated<TSource,TAccumulate,TResult> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, Cadenza.Tuple<TAccumulate, TResult>>) : Cadenza.Tuple<TAccumulate, List<TResult>>
Applies func to each element within self, returning the final value of the accumulator and the list of intermediate values.
static
SelectBreadthFirst<TSource,TResult> (this IEnumerable<TSource>, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<TResult>
Traverse a sequence of nodes in a breadth-first fashion, converting each encountered node.
static
SelectDepthFirst<TSource,TResult> (this IEnumerable<TSource>, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<TResult>
Traverse a sequence of nodes in a depth-first fashion, converting each encountered node.
static
SelectFromEach<T1,T2,TResult> (this IEnumerable<T1>, IEnumerable<T2>, Func<T1, T2, TResult>) : IEnumerable<TResult>
Projects each corresponding element from multiple sequences into a new form.
static
SelectFromEach<T1,T2,T3,TResult> (this IEnumerable<T1>, IEnumerable<T2>, IEnumerable<T3>, Func<T1, T2, T3, TResult>) : IEnumerable<TResult>
Projects each corresponding element from multiple sequences into a new form.
static
SelectFromEach<T1,T2,T3,T4,TResult> (this IEnumerable<T1>, IEnumerable<T2>, IEnumerable<T3>, IEnumerable<T4>, Func<T1, T2, T3, T4, TResult>) : IEnumerable<TResult>
Projects each corresponding element from multiple sequences into a new form.
static
SelectReverseAggregated<TSource,TAccumulate,TResult> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, Cadenza.Tuple<TAccumulate, TResult>>) : Cadenza.Tuple<TAccumulate, List<TResult>>
Applies func to each element within self in reverse order, returning the final value of the accumulator and the list of intermediate values.
static
SequenceCompare<TSource> (this IEnumerable<TSource>, IEnumerable<TSource>) : int
Compares the elements of two sequences by using the default comparer for their type.
static
SequenceCompare<TSource> (this IEnumerable<TSource>, IEnumerable<TSource>, IComparer<TSource>) : int
Compares the elements of two sequences by using a specified IComparer<TSource>.
static
SequenceEqual<TKey,TValue> (this IDictionary<TKey, TValue>, IDictionary<TKey, TValue>) : bool
Documentation for this section has not yet been entered.
static
SequenceEqual<TKey,TValue> (this IDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IEqualityComparer<TValue>) : bool
Documentation for this section has not yet been entered.
static
Shuffle<TSource> (this IEnumerable<TSource>) : IEnumerable<TSource>
Randomizes the ordering of items within self.
static
Shuffle<TSource> (this IEnumerable<TSource>, Random) : IEnumerable<TSource>
Randomizes the ordering of items within self.
static
SkipPrefix<TSource> (this IEnumerable<TSource>, IEnumerable<TSource>) : IEnumerable<TSource>
Skips over prefix, returning the elements following prefix.
static
SkipPrefix<TSource> (this IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) : IEnumerable<TSource>
Skips over prefix, returning the elements following prefix.
static
Sort<TSource> (this IEnumerable<TSource>) : IEnumerable<TSource>
Sorts the elements in the sequence self using the default comparer.
static
Sort<TSource> (this IEnumerable<TSource>, IComparer<TSource>) : IEnumerable<TSource>
Sorts the elements in the sequence self using the specified comparer.
static
Sort<TSource> (this IEnumerable<TSource>, Comparison<TSource>) : IEnumerable<TSource>
Sorts the elements in the sequence self using the specified comparer.
static
SortNatural (this IEnumerable<string>) : IEnumerable<string>
Returns a new IEnumerable<TSource> which contains the elements within self sorted using the Cadenza.NaturalStringComparer.Default comparer.
static
Span<TSource> (this IEnumerable<TSource>, Func<TSource, bool>) : Cadenza.Tuple<IEnumerable<TSource>, IEnumerable<TSource>>
Creates a Cadenza.Tuple<IEnumerable<TSource>, IEnumerable<TSource>> of the contiguous elements at the start of self which satisfy predicate.
static
SplitAt<TSource> (this IEnumerable<TSource>, int) : Cadenza.Tuple<IEnumerable<TSource>, IEnumerable<TSource>>
Splits self at firstLength, creating a Cadenza.Tuple<IEnumerable<TSource>, IEnumerable<TSource>>.
static
Subsets<TSource> (this IEnumerable<TSource>) : IEnumerable<IEnumerable<TSource>>
Creates all subsets of a given input sequence.
static
Subsets<TSource> (this IEnumerable<TSource>, Func<IEnumerable<TSource>,System.Boolean>) : IEnumerable<IEnumerable<TSource>>
Creates all subsets that match predicate.
static
Tokens<TSource,TAccumulate,TResult> (this IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>, Func<TAccumulate, Cadenza.Tuple<TResult, TAccumulate>>, params Func<TAccumulate, TSource, bool>[]) : IEnumerable<TResult>
A simple lexer to convert an IEnumerable<TSource> into a IEnumerable<TResult>, where the resulting sequence may have a different number of elements than the source sequence.
static
ToList<TSource> (this IEnumerable<IEnumerable<TSource>>) : List<List<TSource>>
Creates a List<List<TSource>> with the same ordering and values as self.
static
ToMaybe<T> (this T) : Cadenza.Maybe<T>
Create a new Cadenza.Maybe<T> instance initialized to a specified value. The returned value may be Cadenza.Maybe<T>.Nothing.
static
ToReadOnlyDictionary<TSource,TKey> (this IEnumerable<TSource>, Func<TSource, TKey>) : ReadOnlyDictionary<TKey, TSource>
Creates a Cadenza.Collections.ReadOnlyDictionary<TKey, TSource> from an IEnumerable<TSource> according to a specified key selector and value selector delegate.
static
ToReadOnlyDictionary<TSource,TKey,TValue> (this IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TValue>) : ReadOnlyDictionary<TKey, TValue>
Creates a Cadenza.Collections.ReadOnlyDictionary<TKey, TValue> from an IEnumerable<TSource> according to a specified key selector and value selector delegate.
static
ToValueReader (this IEnumerable<string>) : Cadenza.IO.TextValueReader
Creates a Cadenza.IO.TextValueReader which will extract values from an IEnumerable<string>.
static
ToValueReader<TSource> (this IEnumerable<TSource>) : Cadenza.IO.EnumerableValueReader<TSource>
Creates a Cadenza.IO.EnumerableValueReader which will extract values from an IEnumerable<TSource>.
static
TrailingSegments<TSource> (this IEnumerable<TSource>) : IEnumerable<IEnumerable<TSource>>
Creates a IEnumerable<IEnumerable<TSource>> containing all final segments of self, longest first.
static
Transpose<TSource> (this IEnumerable<IEnumerable<TSource>>) : IEnumerable<IEnumerable<TSource>>
Transposes self, so that rows become columns and columns become rows in the returned IEnumerable<IEnumerable<TSource>>.
static
TraverseBreadthFirst<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<TResult>
Traverse a tree in a breadth-first fashion, converting each encountered node.
static
TraverseBreadthFirstWithParent<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<KeyValuePair<TSource, TResult>>
Traverse a tree in a breadth-first fashion, converting each encountered node.
static
TraverseDepthFirst<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<TResult>
Traverse a tree in a depth-first fashion, converting each encountered node.
static
TraverseDepthFirstWithParent<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<KeyValuePair<TSource, TResult>>
Traverse a tree in a depth-first fashion, converting each encountered node.
static
TryGetFirst<TSource> (this IEnumerable<TSource>, out TSource) : bool
Attempts to obtain the first element in the sequence.
static
TryGetFirst<TSource> (this IEnumerable<TSource>, Func<TSource, bool>, out TSource) : bool
Attempts to obtain the first element in the sequence that satisfies the specified condition.
static
Unzip<T1,T2> (this IEnumerable<Cadenza.Tuple<T1, T2>>) : Cadenza.Tuple<IEnumerable<T1>, IEnumerable<T2>>
Converts an IEnumerable<Cadenza.Tuple<T1, T2>> into a tuple of lists, one for each Cadenza.Tuple<T1, T2> element.
static
Unzip<T1,T2,T3> (this IEnumerable<Cadenza.Tuple<T1, T2, T3>>) : Cadenza.Tuple<IEnumerable<T1>, IEnumerable<T2>, IEnumerable<T3>>
Converts an IEnumerable<Cadenza.Tuple<T1, T2, T3>> into a tuple of lists, one for each Cadenza.Tuple<T1, T2, T3> element.
static
Unzip<T1,T2,T3,T4> (this IEnumerable<Cadenza.Tuple<T1, T2, T3, T4>>) : Cadenza.Tuple<IEnumerable<T1>, IEnumerable<T2>, IEnumerable<T3>, IEnumerable<T4>>
Converts an IEnumerable<Cadenza.Tuple<T1, T2, T3, T4>> into a tuple of lists, one for each Cadenza.Tuple<T1, T2, T3, T4> element.
static
UpdateValue<TKey,TValue> (this IDictionary<TKey, TValue>, TKey, Func<TValue, TValue>)
Documentation for this section has not yet been entered.
static
With<TSource,TResult> (this TSource, Func<TSource, TResult>) : TResult
Supports chaining otherwise temporary values.
static
Zip<T1,T2> (this IEnumerable<T1>, IEnumerable<T2>) : IEnumerable<Cadenza.Tuple<T1, T2>>
Creates and returns an IEnumerable<Cadenza.Tuple<T1, T2>> containing the corresponding items from self and source2.
static
Zip<T1,T2,T3> (this IEnumerable<T1>, IEnumerable<T2>, IEnumerable<T3>) : IEnumerable<Cadenza.Tuple<T1, T2, T3>>
Creates and returns an IEnumerable<Cadenza.Tuple<T1, T2, T3>> containing the corresponding items from self, source2, and source3.
static
Zip<T1,T2,T3,T4> (this IEnumerable<T1>, IEnumerable<T2>, IEnumerable<T3>, IEnumerable<T4>) : IEnumerable<Cadenza.Tuple<T1, T2, T3, T4>>
Creates and returns an IEnumerable<Cadenza.Tuple<T1, T2, T3, T4>> containing the corresponding items from self, source2, source3, and source4.

Member Details

OrderedDictionary Constructor

Documentation for this section has not yet been entered.

public OrderedDictionary ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

OrderedDictionary Constructor

Documentation for this section has not yet been entered.

public OrderedDictionary (ICollection<KeyValuePair<TKey, TValue>> dictionary)

Parameters

dictionary
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

OrderedDictionary Constructor

Documentation for this section has not yet been entered.

public OrderedDictionary (IEqualityComparer<TKey> equalityComparer)

Parameters

equalityComparer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

OrderedDictionary Constructor

Documentation for this section has not yet been entered.

public OrderedDictionary (int capacity)

Parameters

capacity
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

OrderedDictionary Constructor

Documentation for this section has not yet been entered.

public OrderedDictionary (ICollection<KeyValuePair<TKey, TValue>> dictionary, IEqualityComparer<TKey> equalityComparer)

Parameters

dictionary
Documentation for this section has not yet been entered.
equalityComparer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

OrderedDictionary Constructor

Documentation for this section has not yet been entered.

public OrderedDictionary (int capacity, IEqualityComparer<TKey> equalityComparer)

Parameters

capacity
Documentation for this section has not yet been entered.
equalityComparer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Add Method

Adds the key and value to the dictionary.

public void Add (TKey key, TValue value)

Parameters

key
The key to associate with the value.
value
The value to add.

Exceptions

Type Reason
ArgumentNullException key is null.
ArgumentException key already exists in the dictionary.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Clear Method

Clears the dictionary.

public void Clear ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Comparer Property

Gets the equality comparer being used for .

public IEqualityComparer<TKey> Comparer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ContainsKey Method

Gets whether or not key is in the dictionary.

public bool ContainsKey (TKey key)

Parameters

key
The key to look for.

Returns

true if the key was found, false if not.

Exceptions

Type Reason
ArgumentNullException If key is null.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ContainsValue Method

Gets whether or not value is in the dictionary.

public bool ContainsValue (TValue value)

Parameters

value
The value to look for.

Returns

true if the value was found, false if not.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Count Property

Gets the number of items in the dictionary.

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

GetEnumerator Method

Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

IndexOf Method

Gets the index of key.

public int IndexOf (TKey key)

Parameters

key
The key to find the index of.

Returns

-1 if the key was not found, the index otherwise.

Exceptions

Type Reason
ArgumentNullException key is null.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

IndexOf Method

Gets the index of key starting with startIndex.

public int IndexOf (TKey key, int startIndex)

Parameters

key
The key to find the index of.
startIndex
The index to start the search at.

Returns

-1 if the key was not found, the index otherwise.

Exceptions

Type Reason
ArgumentNullException key is null.
ArgumentOutOfRangeException startIndex is not within the valid range of indexes.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

IndexOf Method

Gets the index of key between the range given by startIndex and count.

public int IndexOf (TKey key, int startIndex, int count)

Parameters

key
The key to find the index of.
startIndex
The index to start the search at.
count
How many items to search, including the startIndex.

Returns

-1 if the key was not found, the index otherwise.

Exceptions

Type Reason
ArgumentNullException key is null.
ArgumentOutOfRangeException count is less than 0.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Insert Method

Inserts the key and value at the specified index.

public void Insert (int index, TKey key, TValue value)

Parameters

index
The index to insert the key and value at.
key
The key to assicate with the value.
value
The value to insert.

Exceptions

Type Reason
ArgumentNullException key is null.
ArgumentOutOfRangeException index is less than 0 or greater than OrderedDictionary<`0, `1>.Count

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Item Property

Gets the value at the specified index.

This is the default property for this class.

public TValue this [int index] { get; }

Parameters

index
The index to get the value at.

Value

The value at the specified index.

Exceptions

Type Reason
IndexOutOfRangeException index is less than 0 or greater than OrderedDictionary<`0, `1>.Count.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Item Property

Gets or sets the value associated with key.

This is the default property for this class.

public TValue this [TKey key] { set; get; }

Parameters

key
The key to get or set the value for.

Value

The value associated with the key.

Exceptions

Type Reason
KeyNotFoundException key was not found attempting to get.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Keys Property

Gets a read only collection of keys in the dictionary.

public ICollection<TKey> Keys { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Remove Method

Removes the key and associated value from the dictionary if found.

public bool Remove (TKey key)

Parameters

key
The key to remove.

Returns

true if the key was found, false if not.

Exceptions

Type Reason
ArgumentNullException key is null.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

RemoveAt Method

Removes they key and associated value from the dictionary located at index.

public void RemoveAt (int index)

Parameters

index
The index at which to remove an item.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Add Method

Documentation for this section has not yet been entered.

void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Add (KeyValuePair<TKey, TValue> item)

Parameters

item
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains Method

Documentation for this section has not yet been entered.

bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains (KeyValuePair<TKey, TValue> item)

Parameters

item
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo Method

Documentation for this section has not yet been entered.

void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo (KeyValuePair<TKey, TValue>[] array, int arrayIndex)

Parameters

array
Documentation for this section has not yet been entered.
arrayIndex
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IsReadOnly Property

Documentation for this section has not yet been entered.

bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IsReadOnly { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove Method

Documentation for this section has not yet been entered.

bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove (KeyValuePair<TKey, TValue> item)

Parameters

item
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IndexOf Method

Documentation for this section has not yet been entered.

int System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IndexOf (KeyValuePair<TKey, TValue> item)

Parameters

item
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Insert Method

Documentation for this section has not yet been entered.

void System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Insert (int index, KeyValuePair<TKey, TValue> item)

Parameters

index
Documentation for this section has not yet been entered.
item
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Item Property

Documentation for this section has not yet been entered.

KeyValuePair<TKey, TValue> this [int index] { set; get; }

Parameters

index
Documentation for this section has not yet been entered.

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

System.Collections.IEnumerable.GetEnumerator Method

Documentation for this section has not yet been entered.

IEnumerator System.Collections.IEnumerable.GetEnumerator ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

TryGetValue Method

Attempts to get the value for the key.

public bool TryGetValue (TKey key, out TValue value)

Parameters

key
The key to search for.
value
The value, if found.

Returns

true if the key was found, false otherwise.

Exceptions

Type Reason
ArgumentNullException If key is null.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Values Property

Gets a read only collection of values in the dictionary.

public ICollection<TValue> Values { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.Collections
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0